package com.bdf.ipharma.dto;

public class PairValue {

	private String key;
	private String value;
	
	
	
	public PairValue(String key, String value) {
		super();
		this.key = key;
		this.value = value;
	}
	
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	@Override
	public String toString(){
		return this.key;
	}
	
	@Override
	public boolean equals(Object o) {
	    if (o instanceof PairValue) {
	    	PairValue other = (PairValue) o;
	      return (this.value.equals(other.getValue()));
	    }
	    return false;
	  } 
	
}
